package contant;

public class SqlTypeContant {

    private static final String[] updateSqlType = new String[]{"insert","delete","update"};

    /**
     * 判断是否走update方法
     * @param sqlType
     * @return
     */
    public static Boolean isUpdate(String sqlType){
        for (String s : updateSqlType) {
            if (s.equals(sqlType)){
                return true;
            }
        }
        return false;
    }
}
